package com.xiaoshuidi.cloud.module.rooms.controller.admin.reservation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author Joey
 * @date 2024/1/10
 */
@Data
@Schema(description = "创建预定退定支付对象")
public class ReserveWithdrawPayReq {
    /**
     * 预定单号
     */
    @NotNull(message = "预定单号")
    @Schema(description = "预定单号")
    private Long reserveId;

    /**
     * 付款时间
     */
    @NotNull(message = "付款时间不可为空")
    @Schema(description = "付款时间")
    private LocalDateTime withdrawPayTime;

    /**
     * 退定实付金额
     */
    @NotNull(message = "退定实付金额不可为空")
    @Schema(description = "退定实付金额")
    private BigDecimal withdrawActualPayAmount;
    /**
     * 退款凭证
     */
    @NotNull(message = "退款凭证不可为空")
    @Schema(description = "退款凭证")
    private String withdrawVoucher;

    /**
     * 付款方式
     */
    @NotNull(message = "付款方式不可为空")
    @Schema(description = "付款方式")
    private String payMethod;

}
